/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Tema3.Ejercicio8;

/**
 *
 * @author larabenito
 */
public class Ejercicio8 {
    public static void main(String [] args){
        Jefe jefe1 = new Jefe();
        Jefe jefe2 = new Jefe();
        Viajante via1 = new Viajante();
        System.out.println(jefe1.getSueldoBase());
        System.out.println(jefe2.getSueldoBase());
        System.out.println(via1.getSueldoBase());
    }
}
